section .text
	global memmove

memmove:
	xor rax, rax
	jmp .each

.count:
	mov al, byte[rsi]
	mov byte [rdi], al
	inc rdi
	inc rsi
	dec rdx

.each:
	cmp rdx, 0
	jne .count

.done:
	ret